"Take a tree of MenuCell and create a titlebar menu. Shan July 30,
1989 "
^self new createInterfaceFor: aTreeOfMenuCell interval: xDelta startUpSelector: aSymbol! !
SemanticObject subclass: #MenuProxy
instanceVariableNames: 'client '
classVariableNames: ''
poolDictionaries: ''
category: 'Menu-Shan'!
MenuProxy comment:
'This is specifically for the Persistent menus. The mode represents the menu in the windowing env. When a button is pressed within the boundary of the mode, it activates the real menu. Shan July 29, 1989'!
!MenuProxy methodsFor: 'private'!
client: aPersisMenu
"Shan July 29, 1989"
client _ aPersisMenu.
mode displayObject relAdd: (client image).
mode resizeToFitDisplayObject.! !
!MenuProxy methodsFor: 'controller-msg'!
activateClient: e
"client is a pop up menu. Activate it. Shan July 29, 1989"